import Vue from 'vue'
import Router from 'vue-router'
import Yb from '@/views/layout/Yb'
import ybRouter from './router'


Vue.use(Router)

const router = new Router({
    routes: [
        {
            path: '/',
            component: Yb,
            children:[
                ...ybRouter
            ]
        }
    ]
})

export default router